import request from "../../common/request"

export default {
  getMenu: function () {
    return request({
			url: "/fabric/arrival/menu",
      method: 'get'
    })
  },
	list: function (params) {
		return request({
			url: "/fabric/arrival/list",
			method: "get",
			params: params,
		});
	},
	getCardCaptionList: function (params) {
		return request({
			url: "/fabric/arrival/getCardCaptionList",
			method: "get",
			params: params,
		});
	},
	save: function (data) {
		return request({
			url: "/fabric/arrival/save",
			method: "post",
			data,
		});
	},
	padGetDate: function (params) {
		return request({
			url: "/fabric/arrival/padGetDate",
			method: "get",
			params: params,
		});
	},
	
	// 列表
	getCutPakeage: function (params) {
		return request({
			url: "/pscutpackagebill/pscutpackagebillmst/mstlist",
			method: "get",
			params: params,
		});
	},
	
	// 明细
	getCutPakeageDetail: function (params) {
		return request({
			url: "/pscutpackagebill/pscutpackagebillmst/dtllist",
			method: "get",
			params: params,
		});
	},
	
	// 保存
	batchImportOut: function (data) {
		return request({
			url: "/pscutpackagebill/pscutpackagebillmst/batchImportOut",
			method: "post",
			data
		});
	},

	// 选择工序
	workProcedureList: function (params) {
		return request({
			url: "/pscutpackagebill/pscutpackagebillmst/workProcedureList",
			method: "get",
			params: params
		});
	},
	
	// 选择员工
	workteamUserList: function () {
		return request({
			url: "/pscutpackagebill/pscutpackagebillmst/workteamUserList",
			method: "get"
		});
	}
}
